package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 创建E签宝个人账户请求对象
 * @date 2019-11-06 23:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询E签宝账户信息请求对象", description = "查询E签宝账户信息请求对象")
public class QueryEsignAccountInfoReq extends BaseReqObj {

    private static final long serialVersionUID = 3620662770558073287L;

    @ApiModelProperty(value = "证件号码", notes = "证件号码", dataType = "String", required = true)
    @NotBlank(message = "证件号码不能为空")
    private String idNo;

    @ApiModelProperty(
        value = "证件类型\nMAINLAND: 大陆身份证,\n" + "HONGKONG: 香港居民往来内地通行证,\n" + "MACAO: 澳门居民往来内地通行证,\n"
            + "TAIWAN: 台湾居民来往大陆通行证,\n" + "FOREIGN: 外籍,\n" + "PASSPORT: 护照,\n" + "SOLDIER_IDNO: 军人身份证,\n"
            + "SOCIAL_SECURITY_CARD: 社会保障卡,\n" + "ARMED_POLICE_ID: 武装警察身份证件,\n" + "RESIDENCE_BOOKLET: 户口簿,\n"
            + "TEMPORARY_IDNO: 临时居民身份证,\n" + "FOREIGNER_PERMANENT_RESIDENCE_PERMIT: 外国人永久居留证,\n" + "OTHER: 其他,\n"
            + "NORMAL: 组织机构代码,\n" + "MERGE: 三证合一,\n" + "REGCODE: 工商注册号",
        notes = "证件类型", dataType = "String", required = true)
    @NotBlank(message = "证件类型不能为空")
    private String idNoType;

}
